package com.swt.gap.util;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 请填写说明
 *
 * @author sx
 * @date 2020/10/21 11:42
 */
@Data
public class TreeNode {
    protected String id;
    protected String parentId;
//    protected String name;
    protected List<TreeNode> children = new ArrayList<>();

    public void add(TreeNode node) {
        children.add(node);
    }
}
